package top.xia17.plugins.fast.auth.register;

import org.springframework.stereotype.Component;
import top.xia17.plugins.fast.auth.model.req.UserRegisterReq;

import java.util.Map;

/**
 * 空注册验证码发射器
 * @author xia17
 */
@Component
public class NoneRegisterCodeLauncher implements RegisterCodeLauncher{

    @Override
    public String getId() {
        return "none";
    }

    @Override
    public String send(String tag ,String to) {
        return null;
    }

    @Override
    public String send(String to) {
        return null;
    }

    @Override
    public int verify(String uuid, String to, String val) {
        return 1;
    }

    @Override
    public void del(String uuid) {
    }

    @Override
    public String getToByReq(UserRegisterReq req) {
        return null;
    }

    @Override
    public void setProperties(Map<String, String> properties) {

    }
}
